from zyb_caps import *

# id定位
# 点击密码登录
driver.find_element(By.ID, 'com.baidu.homework:id/passport_phone_number_input_edit').send_keys('15290301592')# 输入账号
driver.find_element(By.ID, 'com.baidu.homework:id/passport_password_input_view').send_keys('123456')# 输入密码
driver.find_element(By.ID, 'com.baidu.homework:id/tv_phone_enter').click() # 点击登录

sleep(2)
driver.quit()